<?php
require_once('function.php');
session_start();
?>
<html>
<head>
<?php
  head();
  check();
?>
<title>后台管理中心</title>
<script language="javascript" type="text/javascript">
function XHShowList(id)
{
	whichEl = eval("XHList"+id);
	if (whichEl.style.display == "none")
	{eval("XHList"+id+".style.display=\"\";");}
	else
	{eval("XHList"+id+".style.display=\"none\";");}
}
</script>
</head>

<base target="XH_w3">
<body>

<table border="0" cellspacing="1" width="135" cellpadding="2" bgcolor="#E1F0FF">
	<tr id="MenuTitleTop">
		<td width="100%" align="center">
		<strong>管理菜单</strong></font></td>
	</tr>
	<tr>
		<td width="100%" align="center" class="MenuTitle1"><a target="_top" href="admin_index.php">
		管理首页</a>｜<a target="_top" href="login.php?act=logout">退出管理</a></td>
	</tr>
	<tr>
		<td width="100%" class="XHList" onClick="XHShowList(1)" onMouseOver="this.className='XHList2';" onMouseOut="this.className='XHList';">
		投票主题</td>
	</tr>
	<tr style="display:none" id="XHList1" class="MenuTitle1">
		<td width="100%"><a href="admin_subject_add.php">添加投票主题</a><br>
		<a href="admin_subject.php">管理投票主题</a> </td>
	</tr>
	<tr>
		<td width="100%" class="XHList" onClick="XHShowList(2)" onMouseOver="this.className='XHList2';" onMouseOut="this.className='XHList';">
		投票问题</td>
	</tr>
	<tr style="display:none" id="XHList2" class="MenuTitle1">
		<td width="100%"><a href="admin_title_add.php">添加投票问题</a><br>
		<a href="admin_title.php">管理投票问题</a></td>
	</tr>
	<tr>
		<td width="100%" class="XHList" onClick="XHShowList(3)" onMouseOver="this.className='XHList2';" onMouseOut="this.className='XHList';">
		投票答案</td>
	</tr>
	<tr style="display:none" id="XHList3" class="MenuTitle1">
		<td width="100%"><a href="admin_question_add.php">添加投票答案</a><br>
		<a href="admin_question.php">管理投票答案</a></td>
	</tr>	
	<tr>
		<td width="100%" class="XHList" onClick="XHShowList(4)" onMouseOver="this.className='XHList2';" onMouseOut="this.className='XHList';">
		系统设置</td>
	</tr>
	<tr style="display:none" id="XHList4" class="MenuTitle1">
		<td width="100%"><a href="admin_system.php">系统初始配置</a><br>
		<a href="admin_admin.php">修改管理员信息</a></td>
	</tr>
			
	</tr>
	</tr>
</table>

</body>

</html>